//
//  TitleBannerView.h
//  HomeDoorWay
//
//  Created by apple on 17/9/19.
//  Copyright © 2017年 刘应平. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BannerView.h"

@protocol TitleBannerViewDelegate <NSObject>

-(void)didClickImageViewWithIndex:(NSInteger)index;

@end

@interface TitleBannerView : UIView
@property (nonatomic , assign) NSInteger currentIndex;
@property (nonatomic , strong) NSArray * imageDataArray;
@property (nonatomic , strong) NSArray * mainDataArray;
@property (nonatomic , assign) id<TitleBannerViewDelegate> delegate;
@property (nonatomic , strong) BannerView * bannerView;

-(void)initDataSourceWithImageDataArray:(NSArray *)imageDataArray;
@end
